package com.qzimp.fujiancuo.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author 李欧雯
 * @since 2024-12-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(value = "tb_userinfo_log")
public class UserinfoLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日志id
     */
    @Id(keyType = KeyType.Auto)
    @ApiModelProperty("日志id")
    private Integer id;

    /**
     * 日志信息
     */
    @ApiModelProperty("日志信息")
    private String log;

    /**
     * 操作用户id
     */
    @ApiModelProperty("操作用户id")
    private Integer userinfoId;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @Column(onInsertValue = "now()")
    private LocalDateTime createTime;

}
